package org.csu.mypetstore.persistence;
import org.apache.ibatis.annotations.Param;
import org.csu.mypetstore.domain.Category;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CategoryMapper {
    List<Category> getCategoryList();
    Category getCategory(String categoryId);
    void deleteCategory(@Param("categoryId") String categoryId);
    void editCategory(@Param("category") Category category);
}
